package com.czk.model.template.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/10/28 22:16
 */
@RequestMapping("/temp")
@RestController
public class ShopController {
    @Autowired
    @Qualifier(value = "firstShop")
    private AbstractMerchantService abstractMerchantService;

    @GetMapping("")
    public String handler() {
        abstractMerchantService.handler();
        return "请求成功";
    }
}
